home *** CD-ROM | disk | FTP | other *** search
- ****************************************************************
- *
- * IBM PROPRINTER Drive Configuration Table v1.2 02-12-86
- * By Randy Holcomb and Todd Meitzner
- *
- * This file contains tables defining the code sequences
- * to be sent to the printer to perform various functions
- * and to access the characters from codes in the Atari
- * character set.
- *
- * v1.2 - pass thru codes for access to IBM printer graphics.
- *
- * v1.1 - fix up some quirks in NLQ setup so the printer
- * switches modes properly.
- *
- * v1.0 - initial release.
- *
- * NOTE - The Proprinter does not support an italic mode. However,
- * if you roll your own italic set and download it
- * you can use the ESC I 4 and ESC I 6 sequences for
- * italic on (draft) and italic on (NLQ), respectively.
- * Be sure to use a similar sequence for italic off in both
- * modes by looking at how bolding is done.
- ****************************************************************
-
- *
- * Name of printer
- * ===============
- *
- IBM Proprinter
-
- *
- * Miscellaneous configurable variables
- * ====================================
- *
- * 1: printer type, 0=dot matrix, 1=daisy wheel
- * Note if printer type is 0 the following 4 variables are never used.
- * 2: unit width of one character
- * 3: unit height of one line
- * 4: Approximate middle of carriage after formfeed
- * 5: Carriage shift for bold overstrike
- *
- 0, 0, 0, 0, 0
-
- *
- * Printer characteristics
- * =======================
- *
- * This table specifies the printer command sequences.
- * If the top bit of a code is set, then this indicates the position
- * of a parameter passed to the printer. The code whose top bit is set
- * in this table is added to the parameter passed before being sent to the
- * printer. It is not used in all command sequences, only in those where
- * the printer requires a variable value such as the length of a vertical
- * tab.
- *
- * 0 * Character width
- 1, D, A * Linefeed WITH return
- * 2 * Forward print
- * 3 * Reverse print
- * 4, 1B, 42, 80, 0, B * Vertical tab to line
- * 5, 1B, 44, 80, 0, 9 * Absolute horizontal tab
- 6, 1B, 45 * Draft bold on
- 7, 1B, 46, 1B, 49, 0 * Draft bold off
- 8, 1B, 45 * NLQ bold on
- 9, 1B, 46, 1B, 49 2 * NLQ bold off
- *A, 1B, 34 * Draft italic on
- *B, 1B, 35 * Draft italic off
- *C, 1B, 78, 0, 1B, 34, 1B, 47 * NLQ italic on
- * D, 1B, 48, 1B, 35, 1B, 78, 1 * NLQ italic off
- * E * Draft light on
- * F * Draft light off
- * 10, 1B, 78, 0 * NLQ light on
- * 11, 1B, 78, 1 * NLQ light off
- 12, 1B, 53, 0 * Draft superscript on
- 13, 1B, 54, 1B, 49, 0 * Draft superscript off
- 14, 1B, 53, 0 * NLQ superscript on
- 15, 1B, 54, 1B, 49, 2 * NLQ superscript off
- 16, 1B, 53, 1 * Draft subscript on
- 17, 1B, 54, 1B, 49, 0 * Draft subscript off
- 18, 1B, 53, 0 * NLQ subscript on
- 19, 1B, 54, 1B, 49, 2 * NLQ subscript off
- 1A, 1B, 2D, 1 * Draft underline on
- 1B, 1B, 2D, 0, 1B, 49, 0 * Draft underline off
- 1C, 1B, 2D, 1, * NLQ underline on
- 1D, 1B, 2D, 0, 1B, 49, 2 * NLQ underline off
- 1E, C * Formfeed
- 1F, 12 * Horizontal initialisation
- * 20 * Vertical initialisation
- 21, 1B, 40 * Termination: printer reset
- 0 * NULL termination byte
-
- *
- * Translation Table
- * =================
- *
- * This table provides translation from single Atari input bytes into
- * multiple IBM printer codes, and is useful for printing extraneous
- * characters such as accented characters etc. All characters are
- * subjected to translation, but if there is no entry in the table for
- * a particular code, then the original code is sent to the printer.
- *
- * The entries must be arranged in ascending order of Atari input
- * code. The table is NULL terminated.
- *
-
- 0 * NULL: print a space
- 1, 7C, 8, 5E * Up arrow: USA | backspace USA ^
- 2, 7C, 8, 76 * Down arrow: USA | backspace USA v
- 3, 2D, 8, 3E * Right arrow: - backspace >
- 4, 3C, 8, 2D * Left arrow: - backspace <
- 5 * No close box
- 6 * No size box
- 7 * No full box
- 8 * No tick
- 9 * No clock
- A * No bell
- B * No musical note
- E * No LH Atari symbol
- F * No RH Atari symbol
- 10, 30 * LCD 0
- 11, 31 * LCD 1
- 12, 32 * LCD 2
- 13, 33 * LCD 3
- 14, 34 * LCD 4
- 15, 35 * LCD 5
- 16, 36 * LCD 6
- 17, 37 * LCD 7
- 18, 38 * LCD 8
- 19, 39 * LCD 9
- 23, 23 * # from USA fount
- 24, 24 * $ from USA fount
- 40, 40 * @ from USA fount
- 5B, 5B * [ from USA fount
- 5C, 5C * \ from USA fount
- 5D, 5D * ] from USA fount
- 5E, 5E * ^ from USA fount
- 60, 60 * ' from USA fount
- 7B, 7B * { from USA fount
- 7C, 7C * | from USA fount
- 7D, 7D * } from USA fount
- 7E, 7E * ~ from USA fount
- 7F * No triangle
- 80, 1B, 36, 80, 1B, 37 * Capital C cedilla: C backspace ,
- 81, 1B, 36, 81, 1B, 37 * Lower case u umlaut from German fount
- 82, 1B, 36, 82, 1B, 37 * Lower case e acute from French fount
- 83, 1B, 36, 83, 1B, 37 * Lower case a circumflex: a backspace USA ^
- 84, 1B, 36, 84, 1B, 37 * Lower case a umlaut from German fount
- 85, 1B, 36, 85, 1B, 37 * Lower case a grave from French fount
- 86, 1B, 36, 86, 1B, 37 * Lower case a boll from Danish 1 fount
- 87, 1B, 36, 87, 1B, 37 * Lower case c cedilla from French fount
- 88, 1B, 36, 88, 1B, 37 * Lower case e circumflex: e backspace USA ^
- 89, 1B, 36, 89, 1B, 37 * Lower case e umlaut: e backspace French umlaut
- 8A, 1B, 36, 8A, 1B, 37 * Lower case e grave from French fount
- 8B, 1B, 36, 8B, 1B, 37 * Lower case i umlaut: i backspace French umlaut
- 8C, 1B, 36, 8C, 1B, 37 * Lower case i circumflex: i backspace USA ^
- 8D, 1B, 36, 8D, 1B, 37 * Lower case i grave from Italian fount
- 8E, 1B, 36, 8E, 1B, 37 * Capital A umlaut from German fount
- 8F, 1B, 36, 8F, 1B, 37 * Capital A boll from Danish 1 fount
- 90, 1B, 36, 90, 1B, 37 * Capital E acute from Norwegian fount
- 91, 1B, 36, 91, 1B, 37 * Lower case ae dipthong from Danish 1 fount
- 92, 1B, 36, 92, 1B, 37 * Capital AE dipthong from Danish 1 fount
- 93, 1B, 36, 93, 1B, 37 * Lower case o circumflex: o backspace USA ^
- 94, 1B, 36, 94, 1B, 37 * Lower case o umlaut from German fount
- 95, 1B, 36, 95, 1B, 37 * Lower case o grave from Italian fount
- 96, 1B, 36, 96, 1B, 37 * Lower case u circumflex: u backspace USA ^
- 97, 1B, 36, 97, 1B, 37 * Lower case u grave from French fount
- 98, 1B, 36, 98, 1B, 37 * Lower case y umlaut: y backspace French umlaut
- 99, 1B, 36, 99, 1B, 37 * Capital O umlaut from German fount
- 9A, 1B, 36, 9A, 1B, 37 * Capital U umlaut from German fount
- 9B, 1B, 36, 9B, 1B, 37 * c cent: c backspace USA |
- 9C, 1B, 36, 9C, 1B, 37 * Pound sterling from UK fount
- 9D, 1B, 36, 9D, 1B, 37 * Yen from Japanese fount
- 9E, E1 * Esszet from German fount
- 9F, 66 * Lower case swash f: print f
- A0, A0 * Lower case a acute: a backspace '
- A1, A1 * Lower case i acute: i backspace '
- A2, A2 * Lower case o acute: o backspace '
- A3, A3 * Lower case u acute: u backspace '
- A4, A4 * Lower case n tilde from Spanish fount
- A5, A5 * Capital N tilde from Spanish fount
- A6, A6 * Lower case a underline: a backspace underline
- A7, A7 * Lower case o underline: o backspace underline
- A8, A8 * Inverted ? from Spanish fount
- A9, A9 * top left corner
- AA, AA * top right corner
- AB, AB * 1/2 fraction
- AC, AC * 1/4 fraction
- AD, AD * Inverted ! from Spanish fount
- AE, AE * <<
- AF, AF * >>
- B0, 1B, 36, 83, 1B, 37 * Lower case a tilde: a backspace USA ~
- B1, 1B, 36, 93, 1B, 37 * Lower case o tilde: o backspace USA ~
- B2, B2 * no Capital crossed O from Danish 1 fount
- B3, B3 * NO Lower case crossed o from Danish 1 fount
- B4, B4 * No lower case oe dipthong
- B5, B5 * No capital OE dipthong
- B6, B6 * No capital A grave: print A
- B7, B7 * No capital A tilde: print A
- B8, B8 * No capital O tilde: print O
- B9, B9 * No Umlaut from French fount
- BA, BA * Acute: print '
- BB, BB * No dagger
- BC, 1B, 36, 14, 1B, 37 * No paragraph symbol
- BD, BD * No copyright symbol
- BE, BE * No Registered symbol
- BF, BF * No Trademark symbol
- C0, 1B, 36, 98, 1B, 37 * ij ligature: y backspace French umlaut
- C1, 59 * Capital IJ ligature: print Y
- C2, C2 * B No Hebrew...
- C3, C3 * C But pass them thru anyway. These codes represent the IBM
- C4, C4 * D Graphics Character set for line drawing. Sometime in the
- C5, C5 * E future there will be a font that will match the IBM PC
- C6, C6 * F standard and will allow these items to be directly
- C7, C7 * G displayed on the screen. For now, you can click the
- C8, C8 * H matching Hebrew character from the table to do box and
- C9, C9 * I line drawings thru 1st Word. (it will look weird on the
- CA, CA * J screen but come out as on the left of this text.)
- CB, CB * K
- CC, CC * L
- CD, CD * M
- CE, CE * N
- CF, CF * O
- D0, D0 * P
- D1, D1 * Q
- D2, D2 * R
- D3, D3 * S
- D4, D4 * T
- D5, D5 * U
- D6, D6 * V
- D7, D7 * W
- D8, D8 * X
- D9, D9 * Y
- DA, DA * Z
- DB, DB * [
- DC, DC * \
- DD, DD * ]
- DE, DE * ^
- DF, DF * _
- E0, E0 * alpha
- E1, E1 * Esszet from German fount
- E2, E2 * YES, Greek....
- E3, E3
- E4, E4
- E5, E5
- E6, E6
- E7, E7
- E8, E8
- E9, E9
- EA, EA
- EB, EB
- EC, EC
- ED, ED
- EE, EE
- EF, EF
- F0, F0 * Equivalence p
- F1, F1 * q
- F2, F2 * r
- F3, F3 * s
- F4, F4 * t
- F5, F5 * u
- F6, F6 * v
- F7, F7 * w
- F8, F8 * x
- F9, F9 * y
- FA, FA * z
- FB, FB * {
- FC, FC * |
- FD, FD * }
- FE * No superior 3
- FF * No macron
- 0
- əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə